{% extends 'news/base.html' %}

{% block titleBlock %}
    个人信息
{% endblock %}

{% block scriptBlock %}
    <script type="text/javascript" src="../../static/news/js/jquery.form.min.js"></script>
{% endblock %}

{% block categoryBlock %}

{% endblock %}

{% block contentBlock %}
    <div class="user_menu_con fl">
        <div class="user_center_pic">
            <img src={% if data.user_info.avatar_url %}
                {{ data.user_info.avatar_url }}
            {% else %}
                "../../static/news/images/user_pic.png"
            {% endif %} alt="用户图片">
        </div>
        <div class="user_center_name">{{ data.user_info.nick_name }}</div>

        <ul class="option_list">
            <li class="active"><a href="/user/base_info" target="main_frame">基本信息</a></li>
<!--            <li><a href="/user/pic_info" target="main_frame">头像设置</a></li>-->
            <li><a href="/user/follow" target="main_frame">我关注的</a></li>
            <li><a href="/user/pass_info" target="main_frame">修改密码</a></li>
            <li><a href="/user/collection" target="main_frame">我收藏的</a></li>
            <li><a href="/user/news_release" target="main_frame">文章发布</a></li>
            <li><a href="/user/news_list" target="main_frame">文章列表</a></li>
        </ul>
    </div>

    <div class="user_con fr">
        <iframe src="/user/base_info" frameborder="0" name="main_frame" class="main_frame"
                id="main_frame"></iframe>
    </div>
{% endblock %}

{% block userBlock %}

{% endblock %}

{% block rigthBlock %}

{% endblock %}



